home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
NextDeveloper
/
Headers
/
appkit
/
Bitmap.h
< prev
next >
Wrap
Text File
|
1992-09-11
|
1KB
|
51 lines
/*
Bitmap.h
Application Kit, Release 1.0
Copyright (c) 1988, 1989, NeXT, Inc. All rights reserved.
*/
#import <objc/Object.h>
#import "graphics.h"
/* NOTE: This class has been obsoleted, use NXImage instead. */
/* To ease conversion, the file obsoleteBitmap.h contains */
/* The old declarations of the Bitmap methods. */
/* Bitmap Types */
#define NX_UNIQUEBITMAP (-1)
#define NX_NOALPHABITMAP (0)
#define NX_ALPHABITMAP (1)
#define NX_UNIQUEALPHABITMAP (2)
@interface Bitmap : Object
{
NXRect frame;
char *iconName;
int type;
int _builtIn;
void *_manager;
struct __bFlags{
#ifdef __BIG_ENDIAN__
unsigned int _flipDraw:1;
unsigned int _systemBitmap:1;
unsigned int _nibBitmap:1;
unsigned int _willFree:1;
unsigned int _RESERVED:12;
#else
unsigned int _RESERVED:12;
unsigned int _willFree:1;
unsigned int _nibBitmap:1;
unsigned int _systemBitmap:1;
unsigned int _flipDraw:1;
#endif
} _bFlags;
}
/* These remain since the prototypes are necessary for correctness. */
+ newSize:(NXCoord)width :(NXCoord)height type:(int)aType;
- resize:(NXCoord)theWidth :(NXCoord)theHeight;
@end